home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part1 / 4113 < prev    next >
Encoding:
Text File  |  1996-08-06  |  1.1 KB  |  28 lines

  1. Newsgroups: comp.lang.c++
  2. Path: freenet.Victoria.BC.CA!ua187
  3. From: ua187@freenet.Victoria.BC.CA (Alex Walker)
  4. Subject: Newbie Q: Is there a Static pointer?
  5. Message-ID: <1996Jan27.223516.19031@freenet.victoria.bc.ca>
  6. Sender: news@freenet.victoria.bc.ca (News Manager)
  7. Reply-To: ua187@freenet.Victoria.BC.CA (Alex Walker)
  8. Organization: The Victoria Freenet Association (VIFA), Victoria, B.C., Canada
  9. Date: Sat, 27 Jan 1996 22:35:16 GMT
  10.  
  11.  
  12.  
  13.     I'm learning C++ and at the moment making a doubly linked-list.
  14.     I'd like to have a pointer to an object of which there is only 1
  15.     copy and all memeber of the class (each node in the list) can use it.   
  16.     This sounds like a static pointer, but does such an animal exists??.
  17.     I can't seem to find any info on anything like this, (typical for 
  18.     a newbie eh?)
  19.  
  20.     Thanks
  21.  
  22.  
  23. -- 
  24.    ----------------------------------------------------------------------
  25.              Alex G. Walker,     Victoria, B.C.  Canada    
  26.      UA187@FreeNet.Victoria.bc.ca -OR- CompTec077@Camins.Camosun.bc.ca
  27.    ----------------------------------------------------------------------
  28.